package com.zyd.blog.personal.service.impl;

import com.zyd.blog.business.entity.User;
import com.zyd.blog.persistence.beans.SysUser;
import com.zyd.blog.persistence.beans.TbUserNo;

import com.zyd.blog.persistence.mapper.TbUserNoMapper;
import com.zyd.blog.personal.service.TbUserNoService;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

import javax.annotation.Resource;

@Service
public class TbUserNoServiceImpl implements TbUserNoService {

    @Resource
    private TbUserNoMapper tbUserNoMapper;


    @Override
    public TbUserNo insert(TbUserNo entity) {
        return null;
    }

    @Override
    public boolean removeByPrimaryKey(Long primaryKey) {
        return false;
    }
    @Override
    public boolean updateSelective(TbUserNo entity) {
        return false;
    }
    @Override
    public TbUserNo getByPrimaryKey(Long primaryKey) {
        Assert.notNull(primaryKey, "PrimaryKey不可为空！");
        TbUserNo tbUserNo = tbUserNoMapper.selectByPrimaryKey(primaryKey);
        return null == tbUserNo ? null : tbUserNo;
    }
}
